﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IPanicBuyPrxHelper extends RMIProxyObject implements IPanicBuyPrx
    {
        public static const NAME:String = "Message.Game.IPanicBuy";

        public function IPanicBuyPrxHelper()
        {
            name = "IPanicBuy";
            return;
        }// end function

        public function buyItem_async(param1:AMI_IPanicBuy_buyItem, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("buyItem");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function buySellItem_async(param1:AMI_IPanicBuy_buySellItem, param2:int, param3:int, param4:int, param5:int, param6:Array) : void
        {
            var _loc_7:* = makeContext(session);
            var _loc_8:* = makeCall("buySellItem");
            var _loc_9:* = new SerializeStream();
            _loc_9.writeInt(param2);
            _loc_9.writeInt(param3);
            _loc_9.writeInt(param4);
            _loc_9.writeInt(param5);
            SeqStringHelper.write(_loc_9, param6);
            Outgoing.invokeAsync(_loc_7, _loc_8, _loc_9, param1);
            return;
        }// end function

        public function closePanicBuyPanel_async(param1:AMI_IPanicBuy_closePanicBuyPanel) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("closePanicBuyPanel");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function closeSalePanel_async(param1:AMI_IPanicBuy_closeSalePanel) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("closeSalePanel");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getPanicBuyConfig_async(param1:AMI_IPanicBuy_getPanicBuyConfig) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getPanicBuyConfig");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getSaleConfig_async(param1:AMI_IPanicBuy_getSaleConfig) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getSaleConfig");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

    }
}
